package com.dao;

import java.util.List;
import java.util.Map;

public interface CommentDao {
    List<Map<String, Object>> queryCommentsByFoodId(int foodId,int pageIndex,int pageSize);

    int addCommentByUserID(int userId, String comment, int foodId);

    int getCount(int foodId);

    int deleteComment(int commentId);

    int modifyComment(int commentId, String comment);
}
